package com.xxxx.server.base;

/**
 * 通用的查询类
 */
public class BaseQuery {
    // 分页参数的字段名必须设置为page和limit
    private Integer currentPage = 1;
    private Integer size = 10;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
